/**
 * FileName: OrderFeign
 *
 * @author: 阿张
 * Date:     2021/3/7 19:25
 */
package com.qx.feign;

import com.qx.pojo.ScOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import result.Result;

@FeignClient("qx-order")
public interface OrderFeign {

    @RequestMapping(value = "app/order/save",method = RequestMethod.POST)
    Result getAll(@RequestBody ScOrder scOrder);
}
